home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
unixlib.lha
/
unix
/
src
/
signals.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-27
|
466b
|
22 lines
#ifndef SIGNALS_H
#define SIGNALS_H
#include <signal.h>
extern void (*_sig_handlers[NSIG])(int);
extern long _sig_mask, _sig_pending;
void _sig_dispatch(int sig);
/* Effect: Do the action associated with signal sig if it isn't masked
Mask it for the duration of the signal exec
*/
ULONG _check_signals(ULONG extra_sigs);
ULONG _wait_signals(ULONG extra_sigs);
int _handle_signals(ULONG sigs);
void _init_signals(void);
void _cleanup_signals(void);
#endif